runtime.heapStatsDelta.smallAllocCount (field)
10 uses
runtime (current package)
mcache.go#L164: atomic.Xadd64(&stats.smallAllocCount[spc.sizeclass()], slotsUsed)
mcache.go#L274: atomic.Xadd64(&stats.smallAllocCount[spanClass(i).sizeclass()], slotsUsed)
metrics.go#L227: for i, count := range in.heapStats.smallAllocCount[1:] {
metrics.go#L605: for i := range a.smallAllocCount {
metrics.go#L606: na := a.smallAllocCount[i]
mstats.go#L410: a := consStats.smallAllocCount[i]
mstats.go#L676: smallAllocCount [_NumSizeClasses]uint64 // number of allocs for small objects
mstats.go#L698: for i := range b.smallAllocCount {
mstats.go#L699: a.smallAllocCount[i] += b.smallAllocCount[i]
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |